package com.ibigcat.module.mdm.controller.admin.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 人员 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29590")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "人员编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("人员编码")
    private String userCode;

    @Schema(description = "人员名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("人员名称")
    private String userName;

    @Schema(description = "人员类型", example = "2")
    @ExcelProperty("人员类型")
    private String userType;

    @Schema(description = "工号")
    @ExcelProperty("工号")
    private String userNumber;

    @Schema(description = "联系方式")
    @ExcelProperty("联系方式")
    private String phone;

    @Schema(description = "邮箱")
    @ExcelProperty("邮箱")
    private String mail;

    @Schema(description = "入职日期")
    @ExcelProperty("入职日期")
    private LocalDateTime entryTime;

    @Schema(description = "身份号")
    @ExcelProperty("身份号")
    private String idCard;

    @Schema(description = "性别")
    @ExcelProperty("性别")
    private Integer sex;

    @Schema(description = "所属公司", example = "6376")
    @ExcelProperty("所属公司")
    private Long companyId;

    @Schema(description = "部门主键集合，以逗号分割", example = "14303")
    @ExcelProperty("部门主键集合，以逗号分割")
    private String deptId;

    @Schema(description = "登录密码")
    @ExcelProperty("登录密码")
    private String loginPwd;

    @Schema(description = "启停状态")
    @ExcelProperty("启停状态")
    private Integer disabled;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}